package com.authManager.commons.feignApi.hystric;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.stereotype.Component;

import com.authManager.commons.feignApi.SysUserRoleApi;
import com.authManager.entity.SysUserRole;

import com.commons.base.model.AdminPage;
import com.commons.base.model.ResultCode;
import com.commons.base.model.ResultData;

@Component
public class SysUserRoleApiHystric implements SysUserRoleApi {
	
	@Override
	public ResultData<Object> addOrDelData(String sysUserId, Long sysRoleId) {
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};
	
	@Override
	public ResultData<Object> editSysUserRole(@RequestParam(required = true) Long sysUserRoleId, String sysUserId,
			Long sysRoleId) {
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};

	@Override
	public ResultData<Object> delSysUserRole(Long sysUserRoleId) {
		return new ResultData.Builder<Object>(ResultCode.reqeust_TimeOut).build();
	};

	@Override
	public ResultData<SysUserRole> getSysUserRole(Long sysUserRoleId) {
		return new ResultData.Builder<SysUserRole>(ResultCode.reqeust_TimeOut).build();
	};

	@Override
	public ResultData<AdminPage<SysUserRole>> listSysUserRole(Integer pageNum, Integer pageSize, Long sysUserRoleId,
			String sysUserId, Long sysRoleId, String start_createTime, String end_createTime) {
		return new ResultData.Builder<AdminPage<SysUserRole>>(ResultCode.reqeust_TimeOut).build();
	}


}
